<template>
  <div class="qrCodeLogin">
    <img :src="QrCodeUri" alt="">
    <p> 扫描二维码登录 </p>
    <hr style="margin: 20px 0;">
    <a @click="loginByUser">使用密码登录</a>
  </div>
</template>

<script>
export default {
  name: "qrCodeLogin",
  data () {
    return {
      QrCodeUri: require('../../../assets/QRcode.png')
    }
  },
  methods: {
    loginByUser () {
      this.$router.push({name: 'login'})
    }
  }
}
</script>

<style scoped lang="less">
.qrCodeLogin{
  margin: 20px auto 0px;
  text-align: center;
  p{
    margin-top: 20px;
    color: #000000;
  }
  a{
    color: #0084ff;
    text-decoration: none;
    cursor: pointer;
  }
}
</style>
